package entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * ClassName: Book
 * Description:
 * date: 2021/10/15 11:18
 *
 * @author muci
 * @since JDK 1.8
 */
public class Book implements Serializable {
    static final long serialVersionUID = 6430539691155161871L;

    private Integer id;

    private String name;

    private String price;

    private String author;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
